package com.tg.pojo.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 王兴
 * @Description
 * @Date 2022/3/28
 */
@Entity
@Data
@Table(name = "tg_order")
public class TgOrder implements Serializable {

    @Id
    @Column(name = "order_id")
    private String orderId;//订单号

    @Column(name = "order_price")
    private Double orderPrice;//订单价格

    @Column(name = "user_id")
    private Integer userId;//用户id

    @Column(name = "ticket_id")
    private Integer ticketId;//车次id

    @Column(name = "order_status")
    private Integer orderStatus;//订单状态

    @Column(name = "create_time")
    private Date createTime;//创建时间

    @Column(name = "update_time")
    private Date  updateTime;//更新时间

    private Integer ifdelete;//逻辑删除

}
